package com.events
{
	import flash.events.Event;
	import com.data.ActivityDAO;

	public class AccessEvent extends Event
	{
		public static const UPDATE:String = "accessUpdate";
		
		public var data:ActivityDAO;
		
		public function AccessEvent(type:String, pData:ActivityDAO, bubbles:Boolean = true, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
			data = pData;
		}
		
		public override function clone():Event
		{
			return new AccessEvent(type, data);
		}
	}
}